projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b7105
)
humminbird: Fix xasprintf format error.
author
oliskoli
<oliskoli>
Fri, 22 Aug 2008 21:54:11 +0000
(21:54 +0000)
committer
oliskoli
<oliskoli>
Fri, 22 Aug 2008 21:54:11 +0000
(21:54 +0000)
humminbird.c
patch
|
blob
|
history
diff --git
a/humminbird.c
b/humminbird.c
index 52fd4f26c9e69002dc083e4b3497f4c8729a0b47..cc66b577c76dec99ed8fad6da40b27ceab0d0b04 100644
(file)
--- a/
humminbird.c
+++ b/
humminbird.c
@@
-573,7
+573,7
@@
humminbird_write_waypoint_wrapper(const waypoint *wpt)
char *key;
waypoint *tmpwpt;
- xasprintf(&key, "%s\01%.9f\01
\
%.9f", wpt->shortname, wpt->latitude, wpt->longitude);
+ xasprintf(&key, "%s\01%.9f\01%.9f", wpt->shortname, wpt->latitude, wpt->longitude);
if (! avltree_find(waypoints, key, (void *)&tmpwpt)) {
tmpwpt = (waypoint *)wpt;